package com.yn.pet.protocol.t808.extend;

import com.yn.pet.protocol.basics.JTMessage;
import com.yn.pet.protocol.commons.JT808;
import io.github.yezhihao.protostar.annotation.Field;
import io.github.yezhihao.protostar.annotation.Message;

@Message(JT808.上传短信修改的省电模式到服务器)
public class T0112 extends JTMessage {

    @Field(length = 1, desc = "省电模式")
    private int mode;
    @Field(length = 2, desc = "短连接周期")
    private String cycle;
    @Field(length = 1, desc = "是否开启飞行模式")
    private int flyMode;
    @Field(length = 2, desc = "追车结束后维持连接分钟数")
    private String keepAlive;

    public int getMode() {
        return mode;
    }

    public void setMode(int mode) {
        this.mode = mode;
    }

    public String getCycle() {
        return cycle;
    }

    public void setCycle(String cycle) {
        this.cycle = cycle;
    }

    public int getFlyMode() {
        return flyMode;
    }

    public void setFlyMode(int flyMode) {
        this.flyMode = flyMode;
    }

    public String getKeepAlive() {
        return keepAlive;
    }

    public void setKeepAlive(String keepAlive) {
        this.keepAlive = keepAlive;
    }
}
